.class Lcom/waiqin365/lightapp/im/gallery/a;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/gallery/a;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/a;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;

    const-class v2, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "photoItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/a;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "position"

    invoke-virtual {v0, v1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/a;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;

    const/16 v2, 0x6e

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/a;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryActivity;->overridePendingTransition(II)V

    return-void
.end method
